<script setup>
import { ref } from 'vue'

const count = ref(0)
</script>

<template>
  <button @click="count++">你点击了 {{ count }} 次.</button>
</template>

<style scoped>
button {
  font-size: 2em;
  padding: 0.5em 1em;
  color: blueviolet;
}
</style>